<?php
require('include.php');

$id = $_GET['id'];

$redis->del("user:{$id}");

$redis->lrem('user:list', $id);

header('location:index.php');